package demo55.dao;

import org.springframework.stereotype.Repository;

@Repository
public class UserDaoImpl implements IUserDao{
    public void findUser() {
        double r = Math.random();
        if (r > 0.5){
            System.out.println("userDao:找到该用户");
        }else {
            System.out.println("userDao:未找到该用户");
        }
    }
}
